package com.lmk.homework.work02;

public class Circle extends  GeometricObject{
    private  double radio;

    public double getRadio() {
        return radio;
    }

    public void setRadio(double radio) {
        this.radio = radio;
    }

    public Circle(String color, double weight, double radio) {
        super(color, weight);
        this.radio = radio;
    }


    public double findArea() {//圆面积计算
        return 3.14*radio*radio;
    }
}
